<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="OrderNavCtrl"></ul>

<div class="set_box">
  <h1 class="set_title"><!--订金退款单详情-->{{language.TIPS_DEPOSIT_RETURN_RECORD_DETAIL}}
    <span class="title_btn_group"> 
     <a class="title_btn" href="javascript:void(0);" ng-click="come_back();"><!--关闭-->{{language.ACT_CLOSE}}</a>

   </span></h1>
   <div class="set_cont detail_page" ng-swipe-right="come_back();" >
    <form class="detail_form">
     <p class="title">
       <!--基本信息-->{{language.TIPS_BASIC_INFORMATION}}
     </p>	
     <table class="detail_table">
      <tr>
        <td class="name"><!--单据编号-->{{language.TIPS_INVENTORY_DOC_CODE}}：</td>
        <td class="val">{{DepositReturnDetail.record.record_code}}</td>
        <td class="name"><!--日期-->{{language.TIPS_RECEIPT_DATE}}：</td>
        <td class="val">{{DepositReturnDetail.record.record_time}}</td>
      </tr>
      <tr>
        <td class="name"><!--订金单号-->{{language.TIPS_DEPOSIT_RECORD_CODE}}：</td>
        <td class="val">{{DepositReturnDetail.record.deposit_record_code}}</td>
        <td class="name"><!--退款金额-->{{language.TIPS_CASHIER_REFUNDS_MONEY}}：</td>
        <td class="val">{{DepositReturnDetail.record.return_money}}</td>
      </tr>
      <tr>
        <td class="name"><!--顾客姓名-->{{language.TIPS_CUSTOMER_NAME}}：</td>
        <td class="val">{{DepositReturnDetail.record.customer_name}}</td>
        <td class="name"><!--手机-->{{language.TIPS_TEL}}：</td>
        <td class="val">{{DepositReturnDetail.record.phone}}</td>
      </tr>
      <tr>
        <td class="name"><!--经手店员-->{{language.TIPS_FIX_DIANYUAN}}：</td>
        <td class="val">{{DepositReturnDetail.record.user_name}}</td>
        <td class="name"><!--联系地址-->{{language.TIPS_FIX_ADDRESS}}：</td>
        <td class="val">{{DepositReturnDetail.record.address}}</td>
      </tr>
      <tr>
        <td class="name"><!--来源类型-->{{language.TIPS_SOURCE_TYPE}}：</td>
      <td class="val">{{DepositReturnDetail.record.relation_type | relation_type}}</td>
        <td class="name"><!--确认-->{{language.ACT_CONFIRM}}：</td>
      <td class="val">{{DepositReturnDetail.record.is_sure | tk_status}}</td>
      </tr>
      <tr colspan="2">
        <td class="name"><!--备注-->{{language.TIPS_MEMO}}：</td>
        <td class="val">{{DepositReturnDetail.record.remark}}</td>
      </tr>
    </table>
  </form>
  <form class="detail_form">
    <p class="title"><!--结算明细-->{{language.TIPS_CASHIER_BILLING_DETAILE}}</p>
    <table class="goods_table">
      <tr>
        <th><!--结算方式-->{{language.TIPS_CASHIER_PAYMENTS_MEANS}}</th>
        <th><!--退款金额-->{{language.TIPS_CASHIER_REFUNDS_MONEY}}</th>
        <th><!--备注-->{{language.TIPS_CASHIER_MEMO}}</th>
      </tr>
      <tr ng-repeat="p in DepositReturnDetail.checklist">
        <td>{{p.check_name}}</td>
        <td>{{p.money}}</td>
        <td>{{p.remark}}</td>
      </tr>
    </table>
    <p class="title"><!--附加明细-->{{language.TIPS_CASHIER_ADDTION_DETAILE}}</p>
    <table class="goods_table">
      <tr>
        <th><!--制单人-->{{language.TIPS_MAKE_RECORD_PERSON}}</th>
        <th><!--制单日期-->{{language.TIPS_MAKE_RECORD_TIME}}</th>
        <th><!--最近修改人-->{{language.TIPS_MODIFY_RECORD_PERSON}}</th>
        <th><!--最近修改日期-->{{language.TIPS_MODIFY_RECORD_TIME}}</th>
        <th><!--退款人-->{{language.TIPS_REFUND_PERSON}}</th>
        <th><!--退款日期-->{{language.TIPS_REFUND_TIME}}</th>
      </tr>
      <tr>
        <td>{{DepositReturnDetail.record.is_made_person}}</td>
        <td>{{DepositReturnDetail.record.is_made_time}}</td>
        <td>{{DepositReturnDetail.record.modify_person}}</td>
        <td>{{DepositReturnDetail.record.modify_time}}</td>
        <td>{{DepositReturnDetail.record.return_person}}</td>
        <td>{{DepositReturnDetail.record.return_time}}</td>
      </tr>
    </table> 
  </form>
</div>
</div>